<template>
    <div>
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="举报列表" name="ReportList"></el-tab-pane>
            <el-tab-pane label="举报理由管理" name="ReportReason"></el-tab-pane>
        </el-tabs>
        <router-view></router-view>
    </div>
</template>
<script>
  export default {
    data() {
      return {
        activeName: 'ReportList'
      };
    },
    methods: {
      handleClick(tab, event) {
        this.$router.push(this.activeName)
      }
    }
  };
</script>